package com.trailer.lookimg.component

import android.content.Context
import com.trailer.base.utils.B
import com.trailer.base.utils.UiSwitch
import com.trailer.lookimg.ImagePagerActivity
import java.util.ArrayList

/**
 *on 2022/9/13
 */
object LookImgUtils {

    fun previewImageArr(context: Context, urls: ArrayList<String>, position:Int) {

        UiSwitch.bundle(context, ImagePagerActivity::class.java,
            B.with().putStringArrayList("urls", urls)
                .putInt("position", position)
                .ok())
    }

}
